#ifndef _CCP_H_
#define _CCP_H_
#include "define.h"
//TIM1_CH1 PA8
//TIM1_CH2 PA9
#define CCP_DET_PORT GPIOA
#define CCP_DET_PIN 8
typedef struct {
	U8 detfreq;
	float freqs;
}STRCCPRegType;
extern STRCCPRegType g_ccp_strRegs;
extern void fnCCP_Init(void);
extern void fnCCP_RealTime(void);
extern void fnCCP_Clear(void);
#endif